package com.bdqn.appjob.service.backend;


import javax.annotation.Resource;

import com.bdqn.appjob.dao.backend.BackAppCategoryMapper;
import org.springframework.stereotype.Service;

import com.bdqn.appjob.entity.AppCategory;

import java.util.List;

@Service
public class BackAppCategoryServiceImpl implements BackAppCategoryService {
	@Resource
	private BackAppCategoryMapper backappCategoryMapper;

	@Override
	public List<AppCategory> getListId(Integer parentId) {
		List<AppCategory> list = null;
		try {
			list = backappCategoryMapper.getListId(parentId);
		} catch (Exception e) {
			e.printStackTrace();
		}
		return list;
	}

}
